﻿
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Nim2D.Managers;

namespace Nim2D {

	public struct Entity {

		public string Name;
		public EntityManager.EntityType Type;
		public int Index;
		public bool IsActive;
		public readonly Dictionary<ComponentManager.ComponentType, int> Components;

		public Entity(string name, EntityManager.EntityType type, int index, bool isActive) {
			Name = name;
			Type = type;
			Index = index;
			IsActive = isActive;
			Components = new Dictionary<ComponentManager.ComponentType, int>();
		}

	}

}